package com.net.xpay.common.enums.user;

import com.net.common.enums.base.StringEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * Created by  on 2017/7/12.
 * 登录方式:账户密码登录, 验证码登录
 */
@Getter
@AllArgsConstructor
public enum LoginMethod implements StringEnum<LoginMethod> {
    PASSWORD("password", "密码登陆"),
    CHECK_CODE("check_code", "手机验证码登陆"),
    PASSWORD_CHECK_CODE("password_check_code", "密码和手机验证码登陆"),
    REGISTER_AUTO("register_auto", "注册后自动登陆的");

    private String value;

    private String desc;
}
